﻿using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Log4NetDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            log4net.Config.XmlConfigurator.Configure();
            ILog logWrite = log4net.LogManager.GetLogger("DemoWriter");
            logWrite.Debug("sssss调试级别的消息");
            logWrite.Error("asfsffsdafds错误级别消息");

        }
    }
}
